#ifndef __ARTIST_MACRO_H__
#define __ARTIST_MACRO_H__
#define GetPhysicalAddress(label)                                                        \
          ({PVOID __address;__address=(PVOID)&(label);__address;})


#define GetLastByte(value)  \
       ((U1B)((value)&0xFF))

#define GetLastHalfByte(value) \
       ((U1B)((value) & 0x0F))

#define Assert(expression)                  \
        if(!(expression))                   \
        {                                   \
           Print("%#0cs failed,in file %#0cs,the line 0x%#0cX,the base file %#0cs\n",#expression,__FILE__,__LINE__,__BASE_FILE__);         \
           while(1);                        \
        }
#endif
